package com.hxzy.shop.member.dto.member.req;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotNull;

/**
 * @author admin
 * @Desc
 * @Date 2023/8/2
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class MemberDetailsReq{

    @ApiModelProperty(value = "会员id")
    @NotNull(message = "会员id不能为空")
    private Long memberId;

    @NotNull(message = "当前页值不能为空")
    @ApiModelProperty(value = "当前页",example = "1")
    private Integer pageNumber;

    @NotNull(message = "每页个数的值不能为空")
    @ApiModelProperty(value = "每页个数",example = "10")
    private Integer pageSize;

}
